{include file="header.tpl" title="San pham DD"}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_masanpham}</td>
    <td colspan="3" style="color:#FF0000" nowrap="nowrap">
	<select name="ACTTYPE">
		{foreach from=$TYPE item=type}
			<option value="{$type}" {if $type eq $activeTYPE} selected="selected" {/if} >{$type}</option>
		{/foreach}
	</select>
        <input name="PRDCODE" id="PRDCODE" type="text" style="background:{$colormasanpham}" value="{$PRDCODE}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>
        *
        <input name="PRDDESC" type="text" style="background:{$colortensanpham}" value="{$PRDDESC}" size="50" maxlength="50" />
      *</td>
  </tr>
  <tr>
  	<td>{$lbl_loaitaikhoan}</td>
	<td colspan="3">
		<select name="DDSIC2" size="1">
			<option value="0"></option>
			{foreach from=$cbo_loaitk key=k item=v}
				<option value="{$k}" {if $k eq $DDSIC2} selected="selected" {/if} >{$k} - {$v}</option>
			{/foreach}
		</select>	</td>	
  </tr>
  <tr>
    <td>{$lbl_loaitiente}</td>
    <td><select name="CURCODE" size="1">
			{foreach from=$CURCODE item=curr}
			<option value="{$curr}" {if $curr eq $activeCURCODE} selected="selected" {/if} >{$curr}</option>
		{/foreach}
		</select>	</td>
    <td width="20%">{$lbl_cosonamtinhlai}</td>
    <td><select name="YEARBS" size="1" >
      
      {foreach from=$YEARBS key=k item=v}
	  	
      <option value="{$k}" {if $k eq $activeYEARBS} selected="selected" {/if} >{$v}</option>
      
	  {/foreach}
    
    </select></td>
  </tr>
  <tr>
    <td>{$lbl_cachtinhlai}</td>
    <td><select name="ACRTYPE" size="1" >
      
	  
      {foreach from=$ACRTYPE key=k item=v}
	  	
	  
      <option value="{$k}" {if $k eq $activeACRTYPE} selected="selected" {/if} >{$v}</option>
      
	  
	  {/foreach}
    
	  
    </select>    </td>
    <td>{$lbl_ngayhieuluc}</td>
    <td><input type="text" value="{$datevalue}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" name="EFFDATE" size="20" style="background:{$colorngay}" readonly="readOnly" /></td>
  </tr>
  <tr>
    <td>{$lbl_kyhanlanhlai}</td>
    <td colspan="3"><input name="INTERM" id="INTERM" type="text" value="{$INTERM}" style="background:{$colorkyhanlanh}; text-align:right" size="3" maxlength="3" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
      <span style="color:#FF0000">*</span>
      <select name="INTRMCD" size="1" >
        
	    
      {foreach from=$INTRMCD key=k item=v}
        
	    
        <option value="{$k}" {if $k eq $activeINTRMCD} selected="selected" {/if} >{$v}</option>
        
	    
	  {/foreach}
      
	    
      </select>      </td>
	</tr>
  <tr>
    <td>{$lbl_laisuat}</td>
    <td nowrap="nowrap">
      <input name="INTRATE" type="text" style="background:{$colorlaisuat}; text-align:right;" value="{$INTRATE}" size="20" maxlength="12" onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
    % n&#259;m <span style="color:#FF0000">*</span></td>
    <td>{$lbl_malaisuat}</td>
    <td nowrap="nowrap"><input name="INTCODE" id="INTCODE" type="text" style="background:{$colormaLS}" value="{$INTCODE}" size="20" maxlength="5" />
      <span style="color:#FF0000">*</span>
      <input type="button" onclick="mywindow = window.open('lai_suat_id.php?name=INTCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td>{$lbl_laisuattoithieu}</td>
    <td><input name="FLRRATE" type="text" style="background:{$colorLSsan}; text-align:right;" value="{$FLRRATE}" size="20" maxlength="12" onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
      % n&#259;m <span style="color:#FF0000">*</span></td>
    <td>{$lbl_laisuattoida}</td>
    <td nowrap="nowrap"><input name="CEILRATE" type="text" style="background:{$colorLStran}; text-align:right;" value="{$CEILRATE}" size="20" maxlength="12" onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
    % n&#259;m <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_sotienguitoithieu}</td>
    <td><span style="color:#FF0000">
      <input name="IDEPAMT" type="text"  style="text-align:right;" value="{$IDEPAMT}" size="20" maxlength="20" onBlur="formatNumber(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
    </span></td>
    <td>{$lbl_TKGLhachtoanlai}</td>
    <td><span style="color:#FF0000">
      <input name="GLINT" id="GLINT" type="text"  value="{$GLINT}" style="background:{$colorGLhachtoanlai}" size="20" maxlength="10" />
*</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLINT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2233" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TKGLhachtoan}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="GLPRN" id="GLPRN" type="text"  value="{$GLPRN}" style="background:{$colorGLhachtoan}" size="20" maxlength="10" />
      *</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLPRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2232" id="replacement_binoculars" value="     " /></td>
    <td nowrap="nowrap">{$lbl_ASS}</td>
    <td><select name="ASS" size="1" onchange="kt();" id="ASS" >       
      {foreach from=$cbo_ASS key=k item=v}      
        <option value="{$k}" {if $k eq $ASS} selected="selected" {/if} >{$k} - {$v}</option> 	  
	  {/foreach}    
      </select>
          <span style="color:#FF0000">*</span> </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TKGLhachtoanphi}</td>
    <td><span style="color:#FF0000">
      <input name="GLEXP" id="GLEXP" type="text"  value="{$GLEXP}" size="20" style="background:{$colorGLhachtoanphi}" maxlength="10" />
      *</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLEXP', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2234" id="replacement_binoculars" value="     " /></td>
    <td nowrap="nowrap"> {$lbl_Ascode} </td>
    <td><span style="color:#FF0000">
      <input name="Ascode" id="Ascode" type="text"  value="{$Ascode}" size="20" style="background:{$colorAscode}" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" {if $activefield eq 'notvalue'} readonly="readonly" {/if} />
      <input type="button" onclick="mywindow = window.open('sanphamdd_id.php?name=Ascode', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat22342" id="replacement_binoculars" value="     " />
    </span></td>
  </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_MINBALOFMTH}</td>
     <td><span style="color:#FF0000">
       <input name="MINBALOFMTH" id="MINBALOFMTH" type="text"  value="{$MINBALOFMTH}" size="20" style="background:{$colorMINBALOFMTH};text-align:right;" maxlength="20" onBlur="formatNumber(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
     </span></td>
     <td nowrap="nowrap">{$lbl_ADJUSTINT}</td>
     <td><select name="ADJUSTINT" size="1"  id="ADJUSTINT" >
         
      {foreach from=$cbo_ASS key=k item=v}      
      
       <option value="{$k}" {if $k eq $adjustint} selected="selected" {/if} >{$k} - {$v}</option>
         
	  {/foreach}    
    
     </select>     </td>
   </tr>
    
   <tr>
     <td nowrap="nowrap">{$lbl_CHGHOLIDAY}</td>
     <td><select name="CHGHOLIDAY" size="1"  id="CHGHOLIDAY" >
       
        
      {foreach from=$cbo_ASS key=k item=v}      
      
       
       <option value="{$k}" {if $k eq $CHGHOLIDAY} selected="selected" {/if} >{$k} - {$v}</option>
       
         
	  {/foreach}    
    
     
     </select>     </td>
     <td >{$lbl_CIFTYPE}</td>
     <td ><span style="color:#FF0000">
       <select name="CIFTYPE" id="CIFTYPE" size="1" style="background:{$colorCIFTYPE}">
         <option value="" ></option>
            
      {foreach from=$cbo_CIFTYPE key=k item=v}          
          
         <option value="{$k}" {if $k eq $activeCIFTYPE} selected="selected" {/if} >{$k} - {$v}</option>
       {/foreach}
      
        
       </select>
     </span></td>
   </tr>
   <tr>
     <td >{$lbl_DDTYPE}</td>
     <td ><span style="color:#FF0000">
       <select name="DDTYPE" id="DDTYPE" size="1" style="background:{$colorDDTYPE}">
         <option value="" ></option>
      {foreach from=$cbo_DDTYPE key=k item=v}          
         <option value="{$k}" {if $k eq $activeDDTYPE} selected="selected" {/if} >{$k} - {$v}</option>
      {/foreach}
       </select>
     </span></td>
     <td>{$lbl_AVGCURBALMIN}</td>
     <td><input name="AVGCURBALMIN" type="text"  style="text-align:right;" value="{$AVGCURBALMIN}" size="20" maxlength="20" onBlur="formatNumber(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
   </tr>
   <tr>
     <td >{$lbl_ACCOUNTTYPE}</td>
     <td ><span style="color:#FF0000">
       <input name="ACCOUNTTYPE" type="hidden" style="background:{$colorACCOUNTTYPE}" value="{$ACCOUNTTYPE}" size="50" maxlength="50" />
     </span></td>
     <td>{$lbl_VARINTRATEVIP}</td>
     <td ><span style="color:#FF0000">
       <input name="VARINTRATEVIP" type="hidden" style="background:{$colorVARINTRATEVIP}" value="{$VARINTRATEVIP}" size="50" maxlength="50" />
     </span></td>
   </tr>
   <tr>
     <td >{$lbl_VARINTRATEWIP}</td>
     <td ><span style="color:#FF0000">
       <input name="VARINTRATEWIP" type="hidden" style="background:{$colorVARINTRATEWIP}" value="{$VARINTRATEWIP}" size="50" maxlength="50" />
     </span></td>
     <td>{$lbl_VARINTRATESTAFF}</td>
     <td ><span style="color:#FF0000">
       <input name="VARINTRATESTAFF" type="hidden" style="background:{$colorVARINTRATESTAFF}" value="{$VARINTRATESTAFF}" size="50" maxlength="50" />
     </span></td>
   </tr>
   <tr>
     <td colspan="4"><hr /></td>
   </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_laibacthang}</td>
     <td><select name="SPLTACR" id="SPLTACR" size="1" onchange="checkspace(this);ktreadOnly();" >
       
     {foreach from=$SPLTACR key=k item=v}
      
       <option value="{$k}" {if $k eq $activeSPLTACR} selected="selected" {/if} >{$v}</option>
       
      {/foreach}
    
     </select>     </td>
     <td nowrap="nowrap">{$lbl_sobacthang}</td>
     <td><input name="SPLTCNT" id="SPLTCNT" type="text" value="{$SPLTCNT}" size="5" maxlength="1" onblur="fillInRows(this.value-1);" readonly="readOnly" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
      ({$lbl_toida})</td>
   </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_INTORADDINT}</td>
     <td><select name="INTORADDINT" size="1"  id="INTORADDINT" >
       
       
       
      {foreach from=$cbo_INT key=k item=v}      

       
       <option value="{$k}" {if $k eq $INTORADDINT} selected="selected" {/if} >{$k} - {$v}</option>
       
       
	  {/foreach}    
    
    
     
     </select>     </td>
     <td nowrap="nowrap">&nbsp;</td>
     <td>&nbsp;</td>
   </tr>
   <tr>
     <td colspan="4"><div align="center">
         <table border="0" cellspacing="1" cellpadding="1" style="width:50%;" id="tblSample" >
           <thead>
             <tr>
               <th>{$lbl_bac}</th>
               <th>{$lbl_sodu}</th>
               <th>{$lbl_laisuat}</th>
               <th>{$lbl_malaisuat}</th>
             </tr>
           </thead>
           <tbody>
           </tbody>
         </table>
     </div>
       {$tbldata} </td>
   </tr>
   <tr>
     <td nowrap="nowrap">&nbsp;</td>
     <td>&nbsp;</td>
     <td nowrap="nowrap">&nbsp;</td>
     <td>&nbsp;</td>
   </tr>
   <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
<tr>
 <!-- update -->
  
  
<td colspan="4"></td>
</tr>
<tr>
<td colspan="4" align="right">
<p></p>
<p></p>
<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<p>{$javascriptsetstyle}
{$javascriptLoad}
  {include file="footer.tpl"} </p>
